import Vue from 'vue'
import BreadCrumb from '@/components/BreadCrumb'
import FormDialog from '@/components/FormDialog'
import Pagination from '@/components/Pagination'
import InfoHeader from '@/components/InfoHeader'
import Unable from '@/components/Unable'
// import IconSvg from '@/components/IconSvg'
import ProcessVideo from '@/components/ProcessVideo'
import PictureCard from '@/components/PictureCard'
// import SideBar from '@/components/SideBar'
import ImageUpload from '@/components/ImageUpload'
// import ConfigSlider from '@/components/ConfigSlider'
import AsideMenu from '@/components/AsideMenu'
// import ImgViewer from '@/components/ImgViewer'
// import Signal from '@/components/Signal'
import LightButton from '@/components/LightButton'
import RippleButton from '@/components/RippleButton'
import SubmitButton from '@/components/SubmitButton'
import CancelButton from '@/components/CancelButton'
import FormButton from '@/components/FormButton'
// import SoundSetForm from '@/components/SoundSetForm'
import MarkdownPreview from '@/components/MarkdownPreview'
// import SimpleLoading from '@/components/SimpleLoading'
import LightText from '@/components/LightText'
import Emoji from '@/components/Emoji'
// import ImageUpload from '@/components/ImageUpload'
// import '@/components/loading/index'
import DialogSelf from '@/components/DialogSelf'
import FriendSelect from '@/components/FriendSelect'

const components = [
  BreadCrumb, // 面包屑导航
  Pagination, // 分页
  InfoHeader,
  Unable, // 功能开发中
  ProcessVideo, // 模态进度图
  PictureCard, // 模态卡片
  ImageUpload, // 图片上传组件
  AsideMenu, // 菜单栏
  LightButton, // 发光按钮
  RippleButton, // 波纹按钮
  MarkdownPreview, // Markdown预览
  LightText, // 发光文字
  Emoji, // emoji
  DialogSelf, // 自定义弹窗
  FormDialog, // 自定义弹窗
  SubmitButton, // 提交按钮
  CancelButton, // 取消按钮
  FormButton, // 表单按钮
  FriendSelect // 好友选择器
]

components.forEach(component => {
  Vue.component(component.name, component)
})
